from rest_framework import routers
from .views import EndpointViewSet,CaseViewSet

router = routers.SimpleRouter()
# 显式指定唯一的 basename
router.register("endpoint", EndpointViewSet, basename="endpoint")
router.register("case", CaseViewSet, basename="case")

urlpatterns = router.urls
